package com.springbootmybatiscurd.service;

import com.springbootmybatiscurd.pojo.Dept;

import java.util.List;

public interface deptService {
    /**查询
     * @return list
     * */
    public List<Dept> DeptService();

    /**
     * 删除部门
     * */
    public Integer deleteId(Integer id);

    /**
     * 添加部门
     * */

    public void addDept(Dept dept);

  public   List<Dept> selectId(Integer id);

   public void deptUpdate(Dept dept);
}
